package cn.com.taurus.service;

import cn.com.taurus.bean.AutomaticPlanMessageBean;
import cn.com.taurus.entity.AutomaticPlanMessage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xf
 * @createTime
 * @remark service层
 * @version 1.0
 */
@Repository
public interface AutomaticPlanMessageService {
    /**
     * 添加
     * @param automaticPlanMessage
     * @return
     */
    public int addAutomaticPlanMessage(AutomaticPlanMessage automaticPlanMessage);

    /**
     * 查询所有
     * @return
     */
    public List<AutomaticPlanMessage> queryAllAutomaticPlanMessage();
    /**
     * 查询单个
     * @return
     */
    public List<AutomaticPlanMessage> queryAutomaticPlanMessageByCaId(Integer caId);

    /**
     * 修改定投
     * @param automaticPlanMessage 定投对象
     * @return
     */
    public Integer updateAutomaticPlanMessageByObject(AutomaticPlanMessage automaticPlanMessage);

    /**
     * 删除定投
     * @param apmId
     * @return
     */
    public Integer deleteAutomaticPlanMessageByApmId(Integer apmId);
    /**
     * 条件查询
     * @param automaticPlanMessageBean
     * @return
     */
    public List<AutomaticPlanMessage> conditionSelectAutomaticPlanMessage(AutomaticPlanMessageBean automaticPlanMessageBean);

}
